package com.wy.system.domain;

import com.wy.common.annotation.Excel;
import com.wy.common.core.domain.BaseEntity;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;

/**
 * 房产信息对象 sys_house
 * 
 * @author ruoyi
 * @date 2023-03-02
 */
public class SysHouse extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 房产编号 */
    private Long id;

    /** 房产购买者 */
    @Excel(name = "房产购买者")
    private Long user;

    /** 房产大小(平方米) */
    @Excel(name = "房产大小(平方米)")
    private Long size;

    /** 房产位置 */
    @Excel(name = "房产位置")
    private String location;

    /** 房产朝向 */
    @Excel(name = "房产朝向")
    private String orient;

    /** 房产状态 0-未出售 1-已经出售 2-出租 */
    @Excel(name = "房产状态 0-未出售 1-已经出售 2-出租")
    private String status;

    /** 物业费状态 0-正常 1-欠费 */
    @Excel(name = "物业费状态 0-正常 1-欠费")
    private String payStatus;

    public void setId(Long id) 
    {
        this.id = id;
    }

    public Long getId() 
    {
        return id;
    }
    public void setUser(Long user) 
    {
        this.user = user;
    }

    public Long getUser() 
    {
        return user;
    }
    public void setSize(Long size) 
    {
        this.size = size;
    }

    public Long getSize() 
    {
        return size;
    }
    public void setLocation(String location) 
    {
        this.location = location;
    }

    public String getLocation() 
    {
        return location;
    }
    public void setOrient(String orient) 
    {
        this.orient = orient;
    }

    public String getOrient() 
    {
        return orient;
    }
    public void setStatus(String status) 
    {
        this.status = status;
    }

    public String getStatus() 
    {
        return status;
    }
    public void setPayStatus(String payStatus) 
    {
        this.payStatus = payStatus;
    }

    public String getPayStatus() 
    {
        return payStatus;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this, ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("user", getUser())
            .append("size", getSize())
            .append("location", getLocation())
            .append("orient", getOrient())
            .append("status", getStatus())
            .append("payStatus", getPayStatus())
            .toString();
    }
}
